package com.atcc.demo.service;

import java.util.List;

import com.atcc.demo.dao.Person;
import com.atcc.demo.dao.StudentInfo;

public interface PersonService {
	
	int addPerson(Person person);
	
	int deleteByPersonId(String id);
	
	int updateByPersonId(Person record);
	
	Person selectByPersonId(int id);
	
	List<Person> selectAllPerson();
	
	List<StudentInfo> selectByName(String name);

}
